package com.yang.sms.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.yang.sms.entity.SmsTypeTemplateConfig;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
* @author Billyang
* @description 针对表【sms_type_template_config(短信业务-模板配置)】的数据库操作Mapper
* @createDate 2024-09-26 17:56:28
*/
public interface SmsTypeTemplateConfigMapper extends BaseMapper<SmsTypeTemplateConfig> {

    @Select("select * from sms_type_template_config where type = #{type} and channel = #{channel}")
    SmsTypeTemplateConfig selectByTypeChannel(@Param("type") String type, @Param("channel") String channel);
}




